#ifndef __APP_ITEM_H__
#define __APP_ITEM_H__


#ifndef _MY_WIN_FRAME_H_
#include "../myui/MYUI/myui.h"
using namespace MYUI;
#endif


#define AppItemClassName   _T("CAppItem")

class CAppItem : public CButtonUI {
public:
    CAppItem();
    ~CAppItem();

    virtual CMuiString GetClassName() const;

    void SetApp(LPCTSTR strPath);
    BOOL RunApp();


private:
    BOOL TakeLinkInfo(LPCTSTR strPath);
    BOOL TakePathInfo(LPCTSTR strPath);
    BOOL TabkeIconBmp();
    void InitView();
private:
    CMuiString m_strSource;
    CMuiString m_strFullPath;
    CMuiString m_strArguments;
    CMuiString m_strWorkDir;
    CMuiString m_strDescription;
    CMuiString m_strAppName;
    CMuiString m_strIconPath;
    INT m_nShow;
    INT m_nIconPos;
    
};

#endif